package com.ihisomp.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

/**
 * 标题: OmpRole.java
 * 业务描述: 运营管理角色信息
 * 作者: zy
 * 日期: 2021/9/13
 * 版本: V1.0
 */

@TableName("t_omp_role")
public class OmpRole implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 角色主键
     */
    @TableId(value = "role_key", type = IdType.INPUT)
    private String roleKey;

    /**
     * 角色名称
     */
    private String roleName;

    /**
     * 拼音
     */
    private String py;

    /**
     * 排序号
     */
    private Integer seqNo;

    /**
     * 备注
     */
    private String note;


    public String getRoleKey() {
        return roleKey;
    }

    public void setRoleKey(String roleKey) {
        this.roleKey = roleKey;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public String getPy() {
        return py;
    }

    public void setPy(String py) {
        this.py = py;
    }

    public Integer getSeqNo() {
        return seqNo;
    }

    public void setSeqNo(Integer seqNo) {
        this.seqNo = seqNo;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    @Override
    public String toString() {
        return "OmpRole{" +
                "roleKey='" + roleKey + '\'' +
                ", roleName='" + roleName + '\'' +
                ", py='" + py + '\'' +
                ", seqNo=" + seqNo +
                ", note='" + note + '\'' +
                '}';
    }
}
